package com.xs.tool.common.utils.vali;

/**
 * 验证回显信息
 */
public class ValidateMessage {
    private String propertyPath;
    private String message;
    private String invalidValue;

    public ValidateMessage() {
        super();
    }
    public ValidateMessage(String propertyPath,String message,String invalidValue) {
        super();
        this.propertyPath = propertyPath;
        this.message = message;
        this.invalidValue = invalidValue;
    }

    @Override
    public String toString() {
        return "ValidateMessage{" +
                "propertyPath='" + propertyPath + '\'' +
                ", message='" + message + '\'' +
                ", invalidValue='" + invalidValue + '\'' +
                '}';
    }

    public String getPropertyPath() {
        return propertyPath;
    }

    public void setPropertyPath(String propertyPath) {
        this.propertyPath = propertyPath;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getInvalidValue() {
        return invalidValue;
    }

    public void setInvalidValue(String invalidValue) {
        this.invalidValue = invalidValue;
    }
}
